Moved the --append check so that files that don't need to be transferred