Realized there was no need for three separate scripts. Created graphics contexts for each display.