added cleanup steps (rm ~/tmp/*)  to ensure that dependent images do not carry around too much baggage