Added handling of the third line.
Added some waf lock file to ignore
Added generating of the fourth line