Cleanup in script