Update Script To Adapt To Conn Function