1.3 First public version
1.5 Removed function enclosing while script