enable offline script