integrating copynmis to commandline, thinking I can modularize it even more genericly