bug fixed
added -d option for screenshot directory