fixed permissions for control script