Updated readme and added some logging