Offline Testing-4

changed script to address window location based on network state