Script for pancreatitis project