nged connection script