A script found on arch forums

A script that seems to be a good start point