chmod after writing "run.sh" script