Added thor as a dependency