fixing scriptwq