unify decisions on whether to run natively, and take into account source maps, which native cannot do