Fixed accnos python script