Remove required script variables because they might be removed