Execute various tasks based on input from various sources