added smarter skip config and preview HTML