Few updates to logging.
Fixed gradle to support actual runs