converted script to unix returns
Added logging to GA