adopting to latest proj mercury init template