The scripts are not ready.
I'll submit a patch for 3.*
This works for me so far, at least with 3.2.1-gentoo-r2.
This will be working until 3.* sources differ from old 2.6 in the future...
Created attachment 319954 [details, diff]
Created attachment 319956 [details, diff]
Thanks for the patches! I've commited them in -r4.