change the SC to script for simplicity