finish ant build script and support tray operation