move towards a config file rather than arguments