fixed an issue with syncing updated files

also added validation to the remove-archive to try and keep from wiping
the whole dir accidently when no string was passed