Don't call lambdas when setting site

Your lambda might fail when calling it when the app is booting up. Executing lambdas on definition is potentially problematic.

On our project we experienced a problem when the app was booting up, since the variable passed into the lambda was not defined yet, it crashed the app.