Updated script to delete more files sooner, and added unfinished flags to config.