Fixed bug that deletes everything in pwd. Nice one.