Changed python cookbook to v1.4.0.