Fix: missing script on opening (first view)