add functions to increment and decrement timers variable to avoid using globals everywhere
added ability to use macros in scripts
moved to do_macros
updated for compatibility with macros and increment decrement functions