Creating script for running based on architecture