Yeah so you want to take off Import motor at the top and instead put Import hub. Then for your motor objects use: hub.port.A.motor (or whichever port you want). Mine looks like this:
from mindstorms import MSHub, ColorSensor, DistanceSensor, App
from mindstorms.control import wait_for_seconds, wait_until, Timer
from mindstorms.operator import greater_than, greater_than_or_equal_to, less_than, less_than_or_equal_to, equal_to, not_equal_to
import math
import hub
# OBJECTS:
upper_arm = hub.port.F.motor
lower_arm = hub.port.A.motor
end_effector = hub.port.E.motor
colour_sensor = ColorSensor("C")
lower_arm.run_for_degrees(30, 30)
The next thing I need to try and do is get them all to start and finish a particular plot move in the same time frame. They may be in parallel but they're not totally synchronized just yet, as some motors finish before others.