Finished commandline based version.