Fix for php script download