added docroot y/n to beta_functions and version scripts