updated mirror script for FIA data

Now better supports psql