added gif recording