RR: changing script to swtich users properly.