The script worked for me "Ga-Z97X-UD5H" I was using CodecCommander previously, which gave me sound after sleep 1 out of 10 times the rest of the times it was like a "loose jack sound"
My computer did crash during sleep last night, but hasnt crashed when i turn the sleep off. If it crash's again I will post my systemLog and my codec dump.
Thanks for the coding