refactored to better handle command line args and add a 'separator' args

boom.