refacted EditAccount to play well with static method, updated maintenance script