Expand if needed plugin