bugs corrected with python script, improvements in gstar2