Largely removed all the hard coded task status IDs etc