Switch to the directory containing a wavescript file before ccalling the compiler.