Changed install to be a define and added a test to only execute if it is not installed