Added .gif functionality/algorithymsz