How do I assign specific Terminal profiles to a command in the Automator app?

I just used the Automator to create an Application.

Here is the AppleScript:

tell application "Terminal"
    do script "ww"
    activate
end tell

However, I just noticed that I can set up many profiles in the Terminal App:

enter image description here

How do I tell the Terminal App to run with some specific profile? Something like this:

tell application "Terminal"
    use profile "my.darkgreen"
    do script "ww"
    activate
end tell