Fixed AttributeError in mrfgen and changed execution permission.
Updated mrfgen execution permission.
Merge branch 'master' into develop