xrand scripts