Added support for custom scripts and styles