Add a TAG env-var to help with merge builds

Also added argument checking to graph.py