Modified the submission to add capabilities and clearer logging.