1) In the line, mxd = arcpy.mapping.MapDocument("CURRENT") change "CURRENT" to the path of the mxd. i.e mxd = r"<a href="file:C:/Documents" target="_blank">C:\Documents</a> and Settings\mela6448\My Documents\Incidents\956207 - Python - Max Connections\GreeleyCO.mxd"2) Add the following line after declaring the mxd path: mxd = arcpy.mapping.MapDocument(mxd)3) Run the script in ArcCatalog or PythonWin.