I am using a pretty old version of A7 (7.10). Thats is probably why the script doesnt work. The good thing is that I am upgrading right now to A8 PRO, 8.02.
Will try it and see if it works.