major updates to command line processing and file association