Made gif compilation (buggy)
Sync older code