Better way to configure the resources base url
Ignore some more files
Fix the resource switching