Added script generalizing scripts used on sources by Starostin.