added reinit fronted script
added reinit fronted script