appname -> app_name, making things more consistent