Added using of config file

Added exceptions
Added post build events