these changes will break the whole script for now. rewrite in pipeline