update for mac. remember package error stuff