Corrected bug in sending other files to the server than scripts