Clearing out return values and cleaning up rm command.