updates for yesod
provisions for profiling