tweaking script for 2nd competition