make work from any arbitrary dir