generate hex files