Modified compile script, set scripts as executables