changing permissions of script to run from docker