now with variable workding directory