linking script closer to the demo one