Fixed reset storage location error by using rmtree() instead of recursive remove().