warnings removed and adapted restingestiontool to new syntax