Modified discover.sh to clean up sub* files

sub1-4 were not being cleaned up after discover.sh completed.