Latest changes, added humphreys config to all arrays as keys; updated code to reflect this. Separate sub-images for multiple specialities catered for too; added imagick API calls.