script change for registration