ENH: script setting variables before launching cmake curses