Base script