Move panel scripts to one file