Wasn't naming and setting mode for binary