changed unlink to run system rm command