Corporate Policies with Permanent and Temporary Shocks