defined entry point for main console script