2nd try to commit with replaced platform-dependent commands like windows() with dev.new()