Switched to using system rather than backticks