Fixed pubsub import by forcing version 1 api
Removed deprecated NamedColor function call