Fixed paths, made it delete previous directory.