rewrote dev script for connectivity tests, special upgrade functions, etc...