fix and regroup script/*