massage export2 and api so that they will take dev-related args; read from config file