Major Bug Fixes including card0file