Move script to codemirror section