Fixed conn nil pointer, basic run test script.