Close header and adding code to default file