Added apiroot option at configuration