added comments, bit of refactoring, adding strace options -s and changing -v option to not required