Linux Script: Bug Fixes.