more transparent build process, HAL_KEY is replaced