fixes script