add new lines to script file