* fix: use !inline ref for scripts inside flows (preproc, error, ai tool) * add test * path assign better