adding dependencies for command line tools

Had to look up strval http://stackoverflow.com/questions/7371991/php-string-cast-vs-strval-function-which-should-i-use

Although interchangable i think **return (string)$element;** is probably better readable