Adds appname variable setting line