Consider replacing shell backticks and eval