Paint codes for sox and martin

Thanks Bob.