Fixed bugs where template files wasn't loaded due to unix systems being case sensitive