revise fits-env.sh to add mediainfo dependency and some claeanup