modify permission to input and remove entry_points