compiling a demo & scipt executable