right after i wrote this post i tried to run the script not in /mnt/flash but /var and now suddenly it works...
strange, i've been sitting on this issue 8 hours last night and 2 1/2 this morning anyway, any hints or advice would still be highly appreciated
