refactor generate script to handle connection errors and print better messages
refactor generate script to handle connection errors and print better messages

meyersj/urbandev-etl,jimtyhurst/urbandev-etl,jimtyhurst/urbandev-etl,meyersj/urbandev-etl