ranger script