Nanofactories can synthesize drugs within the body