Strip out perl :-( and try and hone things down to time