Many systems do not have realpath, and it isn't a necessary call here.
Switch from sh to bash, because on boxes that actually have sh, as opposed to symlinking sh to bash, this breaks.
Merge pull request #113 from tumblr/will-populate-script-fix

Scripts fixes