Moved strategy application to script