fixes to the instagram script