you are wrong, it is not chmod a+x but chmod +x <filename>
im still getting the same problem using chmod +x