Added MRI script for linking