image script spits out header file