removing referance to global instance, adding sandbox config