Fixed demo: refactored script inclusion