allow modifying globals, make it configurable