the author lives in edinburgh , where she works in an art gallery by day and helps with community theatre by night , which doesnt always leave much time to work on her mystery , historical and sci-fi novels .