fixed small issue with general script