Took out the IIFE in embedImages