allow flags to be set
add cache and try new container build for travis
fix process.env