parsing commands from services file