refs #12: Implement the copy folder(s) script command

plus other minor fixes