added a way to run the layout and print files as standalone