fixed minor bugs in the script, bumped version