script figures out where model and JAR are stored before trying to run them