switched to a more generic way of handling the sandbox configuration