i shunted the access commands up as a snippet myself in the end brian :) found on page http://www.hawkee.com/snippet/5109/
there for you if you wanna clearer look at it without the comments