Bugfix with making sure static files are attached properly.