exposing runScript for use by other plugins