Fixed missing support for newlines
Added reload of the environment at the end
Added makeindex script for the duserver