moved </script> tag to below to support jenkins command.