Create firstline

Copy from my script