Added debugging and license