some cleanup
add command line options to installer