Added Gallery support to history.txt