registration script now uses argparse
better notification system for cloud events