Changes to run scripts in standalone mode using the old behavior