Moving file execution so that searching for tree wil be found in the path