Based on: KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody CHDK Wiki