Fix permissions, update configs