Use $@ instead of $1 to get the full argument list.