Deploying and rebuilding and image every time might be a bit too much ;-), wrapping into functions to make the calling tree clear.