Adding random task function to tasks (used if no location is specified)