Added magRepack scripts.