[sdk] enabled scripts to work with parameters and from any location.