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

You also don't need a separate file.