added call to pg_restore