implemented configurable screenshot command