picture taking script added