refactored run.sh and changed its execution mode