adding pattern loader to runner script