add -d flag for pg_restore command

@trlinkin identified an issue with the restore command