added hmf script to generate hmf’s via command line