An investigation into the regulation of gene expression in response to ER stress