Added support for reg custom executable path.