Removed expensive calls to getImage and setFirewalls.
Removed expensive call to getImage to extract platform.