change bash argument handling to work with using XXX