changed working path to be more general