Added dynamic path fallback.
Merge pull request #22 from poppe1219/feature/dynamic_path_fallback

Added dynamic path fallback.