General setup for Script class