move the security tasks to the steps so that we can rescue the results