added automatic userscript heder generation