Move graphs to scripts