Updating script to reflect secure HTTP/WSS