Added check for installed