added correct import statements after refactor
fixed bug stopping constants_name being written
updated dispatch code
added script to quickly show MAPFAC_M values