Added gae scripts for patient