Updated to move blacktie top and to check for required build variables early