Collection of scripts calculating the open rail performance index