add gif recording functionality
softmax action selection