Fix #40 Added generating of config from command line