optparse working not but sys is