A simulation of high latitude F-layer instabilities in the presence of magnetosphere-ionosphere coupling