There is no need to import palette.  Only activitypalette is needed.