hive script to load msd into tables