Makes python 3 friendly
updates loaddata command to py3 friendly