Reimplemented config as script object