clean up and install requisite modules