Add support to specify name/description/script/environment variables

It is useful when the app has more than one entry point (e.g. server and worker).