Safe script