Fix wrong include path in util.php
Fixing permissions/adding starts_with/ends_with