Improvements to script - associate transients across images and tidy up the variable catalogue source part