append .img postfix for alternative imgname for export; fix for incorrect error code in jexport; Move modules dir to modules.d. Now modules file installed to modulesdir instead of tools. Command in moduledir is preferred for CBSD execution, so, 3rd party modules can overwrite functional of default CBSD command with some name