Fixed some minor bugs to get cookbook running again