Linux gateway scripts