registration script change