fixed permissions on script