fixed script not running