refactor executable paths to variables