Testing and splitting scripts