adding queries and shell scripts