script for Sctarch