various fixes
app_name must be passed in, fixes dynamic url naming