Working. Simplified panel scripts