Thank you Wayne, I rechecked the layers… ran the script… still an issue… Should you have a spare moment you can check it out here
https://www.dropbox.com/s/m3pgb4w27tti56n/Crane-arm_rig.blend?dl=0
please apologies the inconvenience
kind regards
Martin