create first lines of main script