Script to do all shifts works now. Fixed compatibility with standard out/error