Fixes to bin commands