Use /bin/bash to run bin/detect