the problem was with using lists as parameters on accident. script works fully now