rest.pl must be executable