flask costam