Init script with automatic stacktrace
Fixups postgres as stordb for offline TP data