Fix advised by Karsten for setting appMap variables correctly