proper mode for binary script