Switch out cubex to run in the project base.  This changes bin/cubex to ./cubex