Fix argument parsing and make more lenient name/module getting (#9)