Fix running when bin dirs are present or exefile given