add production url to config
fix template selection
fix message printing at the end