Modified to delete home paths