updated with tasks
added config file support