add script that generates the actual image