extract inline provision commands to a script file