Made the script truely sh compatible
on my other machine sh would execute bash syntax and vice versa...