Restores necessary devise directory