Fixes incrementing remote number

Adds nightly 4.0.x configurations