Unify sandbox running code