Patient fix

fixed patient script