Handle master branch

Also add a check if tx command is installed