Fixes bug in cap task that only imported pictures.