added resources/scripts/, and /scripts/php/

also changed reference paths