fixed some ui issues, allows paths to be supplied