Add gen-desktop-leases script