make print function configurable
update README to reflect changes in configuration