Added a check to see if forestry is installed.