adding option for doc root.