Cleaned up the cleanup script to remove duplicated line