cleanup in scripts