fetch resource scripts