Add more debugging assistance

Fixed ApeScript issue