modified shell of adserver for thesis database start