Don't check permissions if in sandbox
Set base url differently if staging
Add sandbox warning
Stupid typo by me
Idiot, I am.