Added missing -r to  r rm on directory in clean up code