reconfigured registration page scripts