Create cleanupHistory.sh