replace wrong static path by dynamic path based on env var
debugging disabled, working
detection of script type, does not affect in changes of lines count,
it's significant for python