fixed sh scripts

wrong line feed. converted dos > unix
removed call-by-reference

better php5.4 support