Adds responsive image handling
Improves path detection.