Finish fixing Facebook script, closes #31