Separated the uploads from the index.php