Fixed stupid bug. Started work on extension export