updated CT installer based on Klaus's suggestions