moved exe to compile, removed nested try...catch