Added support for --sever flag and removed -c flag