Fixed an issue with calling the install functions