shell script to start the registration