Separated into different files. Only checking the open url