scripts updated with handle draw method