Implement basic brain for removeads shell script