creating scripts partial