Rename lua state in config loading