Added whitelist and commented out the method that looks for the main component