Append script fix