Fixed path issue in wordpress script