Running the code through scripts