intial user gateway processing scripts