parse command line args before setting image_host
bump version to 0.4.0