expand path for arbitrary execution locations