Generate names for the newly created images by appending a number
Added compile flag so we can compile in the cluster