generation and writing script for debian live build system