production migration bash scripts