main script bundle