Update boolean usage & add stdin support