Added rm command and fixed things.