adding upres script