Creating services Using command-line scripts