Edited some files to fix unusable PHP