Added -g flag for debugging info