Reverts directory after adding to portfolio