Code for various procedures and operations with ArcMap