Save customised code in workflow files and reload if provided