make env.php excutable
quick hack to fix resource list

Resource list can be retrieved with iteration later.