updated server to use color and changed cgpath to uipath