Updated readme and made the callback optional