Refactored pip code works, now test apt stuff