bye .md
cleaned up the arg handling and some error messages