fixed a 'dev' in in the init.sh and file permissions on deploy.sh
Merge branch 'temp'