add a script that will generate an image using installroot method