Add conn as parameter to run()