Change default behavior of scripts to be async, added -w flag to wait