BridgePlus and Paths

I am getting a Compile Error: A to:music can’t go after this path.

use framework "Foundation"
use script "BridgePlus" version "1.3.1"

set xxx to (path to music folder from user domain) 

What am I doing wrong?

Once you add any use statement to a script, you also need to add a use scripting additions statement if you wish to use scripting addition commands.

That did it. Thanks Shane.