fix bin script