Prevent resources from running unneccessarily