Made machine parts loading conditional to prevent loading on every page.