Made the program reader a lot smarter