Automatically add app static directories
Add example static directory
Fix URL inclusion for non-index URLs