moved to java6, upload appdf procedure updated