Added version and arch flags

Change-Id: Ib7d4c583e68761a8e607b6f58f2b50dd99f792bb