lowered php version and some minor changes