Fixed file permissions in the the ant running for Debian, and a few other issues in the executable script