fix to work from any directory