.flavor(), .image(), .default() functions added to m.py