Now parts 2 and 3 work. Haven'ttested 1 after changes yet.