Make both demos runnable from the command line.