Fix some syntax and allow sending the architecture to the script to
operate correctly.

Signed-off-by: edge226 <lucid@celps.org>