Great script! But I think you should put some protection on things like people putting in } exit -n etc.