setup permissions for build.sh and test.sh