Fixed cx setup script