adding the gateways directory