Implement external commands by using perl