Added 'prev' command to wp.sh