migrating script to branch