Made changes to the script - program starts with a shell wrapper now