Added code to generate CSS and JS file lists automatically