Update script with formatting suitable for local run