Created Cuepoint setup function wich is called when the cuepoint is
activated.