Create setpermissions.sh

updates permissions