Better options parsing in cluster.pl