updates to get it running on EMR, directions