added time scaling script