Modified application_path changing it to application_folder. Missed that little detail.