support for binary majic script