Added script for online registration