changed order of connection arguments
changed configuration file format
imported missing psycopg2.extras