added job server program adapted from hobo's code