fix works script