Methods Enabling Portability of Scientific Workflows