After ties are arranged into their final locations under the rail, spikes are driven at the tie ends until the rail is permanently fastened (using one of the methods previously described). In the case of this switch plant, I used styrene glue for this.