MBH: correting file permissions
MBH: bash script not working