change way scriptcontorl loads