Don't use this. It's old and dumb. Do something like this instead: https://gist.github.com/tonydewan/9905765