Move to versioned file
Restore previous pg script