Open URL in Chrome Automator Service

Make a new service in Automator that takes URLs as input. Add a Run AppleScript action and pop in this code:

on run {input, parameters}
	tell application "Google Chrome"
		if it is not running then
			launch
		end if
		activate
		open location input
	end tell
end run