Move require into where gpio is done