Fixes issue with Frozen server and templates directory.