added MPL headers and standard mode lines