Add man page; fix ability to set lang and dir on command line