Make file runnable on its own.
tidy for running in batch