Remove deprecated task configuration
Add error handling for input values