added proper permissions and check to see if each bean type is omitted