added wrapping script to prevent clock flickering