add layouts/stylesheets support