set script load hook 'wp_enqueue_media'