Fixing obvious bugs
Adding multitude of quotes to make sure bash treats vars with spaces properly inside awk