Added support for scripts and styles properties