generalized environment script
push create into a writeable tmp
port through to publish