Read the whole program at start