Fixed overwrite using ATfunction from modal branch to properly call taskStatus functions