added random file and wordpress functions file