split out script support