update version 0.4 (added margin options.)