working on cleanup script