new scripts for time res