upated todo, config and server script