use env for host and wikia_environment
add sandbox support