Added functionality to pin when executable has different name