refactor(scripts): little more refactor