Added safety to rm command