added shutdown shell command and java service provider for groovy scripts