reorganizing scripts