change script to run antenna from the source code (not the .jar)
detect defs outside class definitions