updated calref installer script