SCRIPT: modified connectivity script (xps)