Updated to store build log in output directory