More Mod Code handling

and reformatted code
missing comma