Bug fixes after changing the interface to handle xml job conifguration.