Substituted triazole derivatives and uses thereof