adding preload directives