Got database target working again