fix binscript