Added application url to endpoints, fixed app-hosts variable name