Make config file and environment flexible as command line args