Build script for old awimager branch