Add switch to parse plugin resources