Revert "Fix syntax error"

This reverts commit af05503675e493de105a3f0737f3d3d2c7422ddc.
Revert "[X] Improve program detection"

This reverts commit 938f78e0128810f3c362332dd0f33ce8d54c7781.