String effective actions from Flux compactifications