minor enhancement in how images are created when several scripts are loaded