After you file

Just to be clear ... you attach the 1040 to the W-7 and mail them both to the W-7 processing address.  Once they issue an ITIN the tax return is forwarded along with the ITIN for processing.   DO NOT  do it the other way around.   Once the ITIN is issued they will mail it to you and then you can amend the prior year returns as needed.