Added -P flag to jx script