script with osmf