Added start script. Fixed problems with json casting of long revision
numbers.