Add if statement to check if asset sync exists in the env