Updated the code responsible for preventing internal access to certain files
Renamed the function responsible for rendering the elements to something more suitable