fix #32: implement '-m' and '-em' arguments
Merge pull request #33 from scrm/fix_issue_32

implement '-m' and '-em' arguments
increase version to 1.3.1