fixes pretty printing of opt args in py and js
fixes some of the between stuff