Should I have changed the input to match the script or vice versa or doesn't it matter. 
it doesn't matter which you change, it only matters that they both match.
Not tried it yet but does the first method in my earlier post work without a script? 
yes, that is the point of the other method, to not include a script in the head.


