Your writevalue lines go in the script itself, and not the ini.
_________________________
(... better days ahead)