added pulse
changes for 0.2, better makeimage script