permission in wordpress folder script working