I am trying to say sentences like:
Then by doing this thing, this happens
Now after selecting this option, this happens
By doing this, now we can do this
Should they get comma after "then" and "now":
Then, by doing this thing, this happens
Now, after selecting this option, this happens
By doing this, now, we can do this