lol yeah it took me forever to figiure out how to get it done.
go here and youll pretty much figure it all out. also i would get the beta and reflash the ecu if i was you.
fallow this exactly. you also need to use easy therm if your gonna use the stock mazda air intake sensor. if you want i can give it to you.