updated brain and deployment stuff