Move this up to earlier, so all user input is complete before files are copied.  Also, simplify the logic by using `else if`