Add curved path in script