run cubex from new base directory