Modifled the php-app for making files executable