fixed #94, no longer incorrectly remove modules
added repository field