make scrip more robust - no one reads scripts