added petal script