added revision of rangeselector script; designed for execution on
grid-engine.