updated config and used python format