Made output more meaningful
Added syncwait