setting up the migit environment