Used 'uri.split('/').last' instead of 'new File(uri).getName()'.
Do not try and use 'scala' in 'run' from within a "release".