automator change screen resolution

How can I change the screen resolution, with automator, on start up ? i ahve this for now but ....

on run tell application "Automator" activate

end tell

tell application "System Events"
	tell process "System Preferences"			
		delay 0.5
		do shell script "open x-apple.systempreferences:com.apple.Displays-Settings.extension"
		-- do shell script "resolution_2048x1024_60hz"ght}						
	end tell
end tell
-- quit application "System Settings"

end run