Added SET search_path and other fixes
Merge branch 'master' of ssh://github.com/Carloswaldo/python-scripts