add -f flag to rm to avoid error when deleting nonpresent files