Fixing the TARGETURI variable, adding check
Adding a space between init and check