Rearranged event redirect sripts.