Updated the code to work with Welltime

Needs testing. Some troubles with Originate might be possible in 1.4 and maybe in 1.5, too.