remove scripts from worker