Fixed issue where script wouldn't delete files that were created when ran.

Prevents hard drive from becoming cluttered.