added script to cope w/ known postgres / djang issues