trying to find the bin script more reliably