Global script to generate box added