CB-5726 - Fix run script PIN detection