#Following script added 11/08/17 by Robert Fitzmaurice