Added reload method
Added an else to removeVariable