changed internal var names, added args from file option, fixed message bug