setup script for gateway added