Add Exit Function when programme first run

Line 28