set up root prefix to be passed in, not hard coded