better workflow to run analyses in the correct order