fix #5: add a config property to generate a constant rather than a value