james fixed dan script so now it returns whatever the java program returns