moved main and other function in npm2deb module, so we will be able to load them for external scripts in future
ensure helper.DO_PRINT is enabled for each script