Edit the flow of the script