Removed unessecary file.
Updated configuration to check if scripts are needed with twig template.
Updated Extension to include check scripts.
Updated template to remove scripts if false.