you have "#include <acknex.h>" at the top of your script?