script ready for testing