chore(config): support script based on arrays and hashes