At the moment the include mechanism is a bit messy. it is context dependent and uses a lot of implicit knowledge. It would be convenient to be able to include files at all positions and do 'the right thing' This is related to a more generic solution for #47