remove script from class definition file