fixed permissions on scripts