add the first bits for an image scrambling script