add build,register,install script,depart the packages and register
config.